package prehilife;

public class Evolve extends AbstractCommand {

    public Creature creature;

    public Evolve(Creature creature) {
        this.creature = creature;
    }

    public void doCommand() {
        creature.evolve();
    }

    public void undoCommand() {
        creature.unevolve();
    }
}